package top.xia17.plugins.fast.user.model.mapstruct;

import top.xia17.plugins.fast.common.model.BaseMapstruct;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import top.xia17.plugins.fast.user.dao.entity.User;
import top.xia17.plugins.fast.user.model.dto.UserDto;

/**
 * 用户mapstruct
 * @author xia17
 * @since 2022/2/23 8:38
 */
@Mapper(componentModel = "spring", uses = {DeptMapstruct.class,RoleMapstruct.class},unmappedTargetPolicy =
        ReportingPolicy.IGNORE)
public interface UserMapstruct extends BaseMapstruct<UserDto, User> {
}
